package edu.msg.hrappy.api.assembler;

import javax.ejb.LocalBean;
import javax.ejb.Stateless;

import edu.msg.hrappy.backend.model.Job;
import edu.msg.hrappy.common.dto.JobDto;

@LocalBean
@Stateless
public class JobAssembler {

	public JobDto modelToDto(Job job) {
		
		return new JobDto(job.getName(), job.getNrOfPositions(), job.getProject());
	}

	
}
